func go/types.allBoolean
9 uses
go/types (current package)
expr.go#L69: token.NOT: allBoolean,
expr.go#L746: token.LAND: allBoolean,
expr.go#L747: token.LOR: allBoolean,
expr.go#L872: if allBoolean(x.typ) != allBoolean(y.typ) {
predicates.go#L48: func allBoolean(t Type) bool { return allBasic(t, IsBoolean) }
recording.go#L104: assert(isTyped(t0) && isTyped(t1) && (allBoolean(t1) || t1 == universeError))
stmt.go#L622: if x.mode != invalid && !allBoolean(x.typ) {
stmt.go#L850: if x.mode != invalid && !allBoolean(x.typ) {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)